package com.element.music.repository.entity.user;

import com.element.music.repository.entity.BaseEntity;
import lombok.*;

import javax.persistence.*;
import java.io.Serializable;

@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@Data
@Table(name = "user")
@Builder
@Entity(name = "UserEntity")
public class UserEntity extends BaseEntity implements Serializable {

    /**
     * token
     */
    private String walletAddress;


    /**
     * 用户名
     */
    private String userName;

    /**
     * email
     */
    private String email;

    /**
     * 用户头像
     */
    private String profileImg;

    /**
     * backDrop
     */
    private String backDrop;

    /**
     * bio
     */
    private String bio;

    /**
     * twitter
     */
    private String twitter;

    /**
     * 网页
     */
    private String website;

    /**
     * sessionId
     */
    private String sessionId;


}